package dubbo.server4.impl.webservice.apacheCxf.server;

import org.apache.log4j.Logger;

import javax.jws.WebService;

@WebService(targetNamespace="http://server.apacheCxf.webservice.impl.server4.dubbo/",endpointInterface = "dubbo.server4.impl.webservice.apacheCxf.server.CxfWebService")
public class CxfWebServiceImpl implements CxfWebService {
    private Logger logger = Logger.getLogger(CxfWebServiceImpl.class);
    public CxfWebServiceResponse test1(CxfWebServiceRequest request){
        CxfWebServiceResponse response=new CxfWebServiceResponse();
        response.setAge(request.getAge());
        response.setName(request.getName());
        return response;
    }
    public String test2(String name){
        return name;
    }
}
